log_format main '$remote_addr - $remote_user [$time_local] "$request" '
        '$status $body_bytes_sent $http_host "$http_referer" '
      '"$http_user_agent" "$http_x_forwarded_for" '
      '"$http_x_connectedpdf_ua" "$upstream_addr" "$upstream_status" '
        '$upstream_response_time $request_time';

access_log  /var/log/nginx/access.log  main;

upstream cmis-tomcats {

	server <%= scope.lookupvar('smx_nginx::params::cmis_server')%>:8180;
#   keepalive 10;
#   check interval=3000 rise=2 fall=5 timeout=1000;
}
upstream cas-sign {
	server <%= scope.lookupvar('smx_nginx::params::cas_server')%>:8888;
}
